import ajax from "../config/ajax";

export default {
  getStatistic: (params) => {
    return ajax({
      url: "/carbon/api/country/gdp/chart",
      type: "get",
      data: params
    })
  },
  getNationalData: (params) => {
    return ajax({
      url: "/carbon/api/country/country/chart",
      type: "get",
      data: params
    })
  },
};
